package com.serene.authority.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.serene.authority.admin.entity.vo.BaseEntity;
import lombok.Data;

/**
 * 菜单表
 *
 * @author serene
 * @createTime 2020/7/10
 */
@Data
public class MyMenu extends BaseEntity {

    private static final long serialVersionUID = 6525908145032868815L;

    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 父级菜单id
     */
    private Integer parentId;

    /**
     * 菜单名称
     */
    private String menuName;

    /**
     * 菜单图标
     */
    private String icon;

    /**
     * 类型
     */
    private Integer type;

    /**
     * url
     */
    private String url;

    /**
     * 权限
     */
    private String permission;

    /**
     * 排序
     */
    private Integer sort;
}
